Class MigrationBuilder<TProps>

Assembly: redb.Core.Pro.dll

IMigrationBuilder implementation - collects migration configurations

public class MigrationBuilder<TProps> : IMigrationBuilder<TProps> where TProps : class

Inheritance

ObjectMigrationBuilder<TProps>

Implements

Methods

GetConfigs()

Get all configured migrations

public IReadOnlyList<PropertyMigrationConfig> GetConfigs()

Property(string)

Select property by name (for removed fields)

public IPropertyMigrationBuilder<TProps, object> Property(string propertyName)

Property<TProp>(Expression<Func<TProps, TProp>>)

Select property for migration configuration

public IPropertyMigrationBuilder<TProps, TProp> Property<TProp>(Expression<Func<TProps, TProp>> propertySelector)